const app = getApp()

Page({
  data: {
    nbFrontColor: '#000000',
    nbBackgroundColor: '#ffffff',
    name:"xxxxxxx",
    list: {
      errno: 10,
      msg: "",
      data: [{
          title: "java教程",
          icon: "https://static.javatpoint.com/tutorial/ai/images/ai-home.png",
          link: "https://javatpoint.com/css-tutorial"
        },
        {
          title: "c语言教程",
          icon: "https://static.javatpoint.com/images/logo/hadoop.jpg",
          link: "https://javatpoint.com/css-tutorial"
        },
        {
          title: "javascript",
          icon: "https://static.javatpoint.com/tutorial/data-science/images/data-science-home.png",
          link: "https://javatpoint.com/css-tutorial"
        },
      ]
    }
  },
  onLoad: function () {
    this.setData({
      nbTitle: '教程列表',
      nbFrontColor: '#ffffff',
      nbBackgroundColor: '#321567',
    })
  },
})